package com.qf.user.client;

import com.qf.base.dto.file.ImgDTO;
import com.qf.base.dto.file.ZoomDTO;
import com.qf.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 汤奇
 * @version V1.0
 * @Project BookPro
 * @Package com.qf.user.client
 * @Description: 调用文件自服务的工具类
 * @Date 2022/8/4 19:37
 */
@FeignClient(value = "file-service")
public interface FileClient {

    @PostMapping("qf/file/img")
    R img(@RequestBody ImgDTO imgDTO);

    @PostMapping("qf/file/zoom")
    R zoom(@RequestBody ZoomDTO zoomDTO);
}
